@echo off
 
set str=%1
 
for /f "tokens=1 delims=." %%a in ("%str%") do 7z  a %%a.zip %1
pause